import { FC } from 'react'
import useLoadQuestionData from '../hooks/useLoadQuestionData'

const Stat: FC = () => {
  const { loading, data: questionData } = useLoadQuestionData()

  return (
    <>
      <p>Stat</p>
      {loading ? <p>loading</p> : <>{JSON.stringify(questionData)}</>}
    </>
  )
}

export default Stat
